$OpenBSD: patch-configure,v 1.2 2010/12/06 08:23:24 shadchin Exp $
--- configure.orig	Wed Jul 14 09:19:00 2010
+++ configure	Sat Dec  4 17:17:04 2010
@@ -3321,9 +3321,9 @@ $as_echo "Solaris" >&6; }
 $as_echo "OpenBSD" >&6; }
 			LIB_CPPFLAGS='-DPIC'
 			LIB_CFLAGS='-fPIC'
-			LIB_LDFLAGS='-shared -fPIC'
+			LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}'
 			LIB_PREFIX='lib'
-			LIB_SUFFIX='.so.${LIB_MAJOR}.${LIB_MINOR}'
+			LIB_SUFFIX='.so'
 			LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
 			PLUGIN_CPPFLAGS='-DPIC'
 			PLUGIN_CFLAGS='-fPIC'
